#ifndef GUIDEF
#define GUIDEF

#include "widget.h"
#include "house.h"
#include "SDL.h"
#include "pane.h"
#include <boost/shared_ptr.hpp>
class Gui:public widget{



public:

	Gui(SDL_Surface*);
	void Draw();
	void SetParent(widget*);
	widget* GetParent();
	std::list<boost::shared_ptr<widget>> GetChildren();
	void AddChild(widget*);
	void RemoveChild(widget*){};
	SDL_Surface* GetSurface();
	void SetRect(SDL_Rect);
	SDL_Rect GetRect();
	void SetDragable(bool){};
	bool GetDragable(){return true;};
	void SetClicked(bool){};
	bool GetClicked(int,int);
	void Proccess(SDL_Event*);
	bool IsHovered(int x,int y){return false;};
};


#endif